<template>
  <div class="flex flex-1 items-center justify-center bg-gray-50">
    <div class="text-center">
      <h1 class="text-9xl font-bold text-gray-400">404</h1>
      <p class="text-2xl font-medium text-gray-600 mb-6">页面未找到</p>
      <p class="text-gray-500 mb-8">您访问的页面不存在或已被移除</p>
      <el-button type="primary" @click="goHome">返回首页</el-button>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const goHome = () => {
  router.push('/')
}
</script>